﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebNetCorePhoneErp.Model;

namespace WebNetCorePhoneErp.IBLL
{
    /// <summary>
    /// 操作日志-业务逻辑
    /// </summary>
    /// <remarks>
    /// 作者：王浩力
    /// 创建时间：2021-6-11 17:48:39
    /// </remarks>
    public interface IOpearateLogBusiness
    {

        /// <summary>
        /// 新增操作日志
        /// </summary>
        /// <remarks>
        /// 创建时间：2021-6-15 10:53:16
        /// 作者：王浩力
        /// </remarks>
        Task<Result> AddOpearateLogAsync(Operate_log operate_Log, UserView userView);

        /// <summary>
        ///操作日志分页
        /// </summary>
        /// <param name="p">页码</param>
        /// <param name="rows">每页显示记录数</param>
        /// <param name="login_Log">查询条件</param>
        /// <returns></returns>
        /// <remarks>
        /// 创建时间：2021-6-15 10:57:01
        /// 作者：王浩力
        /// </remarks>
        Task<PageModel<Operate_log>> PageAsync(int p, int rows, Operate_log operate_Log);

    }
}
